#lang scheme

(define (sumTwoGreaters x y z) 
  (cond ((or (and (> x z) (> y z))) (+ x y))
		((or (and (> x y) (> z y))) (+ x z))
		(else (+ y z))
	)
  )

(sumTwoGreaters 1 2 3)
(sumTwoGreaters 3 1 2 )
(sumTwoGreaters 2 3 1 )

